/*
 * pping_arch.c
 *
 *  Created on: 09/05/2012
 *      Author: jorge
 */

#ifndef PPING_ARCH_H_
#include "pping_arch.h"
#endif


unsigned int pping_get_order_byte(void)
{
	un_endian.i	= 0x12345678;

	if ( un_endian.c[0] ==  0x78 )
	{
		return PPING_ARCH_LITTLE_ENDIAN;
	}
	else
	{
		return PPING_ARCH_BIG_ENDIAN;
	}
}
